/**
 ****************************************************************************************************
 * 1. Resets
 * 2. Link Styles
 * 3. Headings
 * 4. Containers
 * 5. Header
 * 6. Content
 * 6.1. Todo table
 * 7. Footer
 * 8. Menu
 * 9. Sub-menu
 * 10. Pagination
 * 11. Color themes
 ****************************************************************************************************
*/

/* 1. Resets
----------------------------------------------------------------------------------------------------*/
html, body, div, ul, fieldset{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
:focus {
    outline: 0;
}

body {
    font: 12px/20px Helvetica, Arial, sans-serif;
}

p {
    padding-bottom: 30px;
}
ol, ul {
    list-style: none outside none;
}

::selection {
    background: #fdd283;
    color: #000;
}
::-moz-selection {
    background: #fdd283;
    color: #000;
}
img {
    border: none;
}

/* 2. Links
----------------------------------------------------------------------------------------------------*/
a , a:visited {
    color: white;
}

/* 3. Headings
----------------------------------------------------------------------------------------------------*/

h1 {
    font:bold 40px Georgia, Arial, sans-serif;
}
h2 {
    font: 30px Georgia, Arial, sans-serif;
}
h3 {
    font: 20px Georgia, Arial, sans-serif;
}
h4 {
    font: bold 13px Georgia, Arial, sans-serif;
    margin: 0;
}

/* 4. Containers
----------------------------------------------------------------------------------------------------*/
html {
    height: 100%;
}

div#main-wrapper {
    margin: 0px auto;
    width: 100%;
}

div#header-wrapper {
    height: 70px;
    width: 1024px;
    margin: 25px auto 2px;
}

#content-wrapper {
    cursor: default;
    -webkit-box-shadow: 0px 11px 30px 2px black;
    -moz-box-shadow:    0px 11px 30px 2px black;
    box-shadow:         0px 11px 30px 2px black;
    border: 1px solid #888888;
    margin: auto;
    background: #F5F5F5;
    min-height: 500px;
    width: 998px;
    /*behavior: url(ie-css3.htc);*/
}

.sign-in {
    float: right;
    width: 335px;
}

.signin-box {
    background: #FAF7F7;
    border: 1px solid #E5E5E5;
    margin: 25px;
    padding: 20px;
}

.signin-box h2 {
    font-size: 16px;
    height: 16px;
    line-height: 17px;
    margin: 0px 0px 1.2em;
    position: relative;
}

.signin-box div {
    margin: 0px 0px 1em;
}

.signin-box a {
    color: blue;
}

label {
    display: block;
    font-weight: 700;
    margin: 0px 0px 0.5em;
    font-size: 15px;
}

.signin-box.email-label, .signin-box.passwd-label {
    display: block;
    font-weight: 700;
    margin: 0px 0px 0.5em;
}

strong {
    color: #222222;
}

.signin-box input[type="text"], .signin-box input[type="password"] {
    direction: ltr;
    font-size: 15px;
    height: 32px;
    width: 100%;
}

input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="text"], input[type="url"] {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    border-radius: 1px;
    border-right: 1px solid #D9D9D9;
    border-top: 1px solid #C0C0C0;
    box-sizing: border-box;
    display: block;
    clear: both;
    height: 29px;
    margin: 0px;
    padding: 0px 8px;
}

.signin-box input[type="submit"] {
    font-size: 13px;
    height: 32px;
    color: #FFFFFF;
    background: rgb(77,154,254);
    background: -o-linear-gradient(top, rgb(71,135,237), rgb(71,135,237));
    border: 1px solid #3079ED;
    text-shadow: 0px 1px rgba(0, 0, 0, 0.102);
}

.signin-box input[type="submit"]:hover {
    background: #71A6FE;
    background: -o-linear-gradient(top, #71A6FE, #71A6FE);
}

button, input[type="submit"] {
    display: inline-block;
    margin: 0px;
    padding: 0px 8px;
    min-width: 46px;
    height: 29px;
    line-height: 29px;
    vertical-align: bottom;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    -webkit-transition: all 0.22s cubic-bezier(0.25, 0.1, 0.25, 1) 0;
    -moz-transition: all 0.22s cubic-bezier(0.25, 0.1, 0.25, 1) 0;
    -o-transition: all 0.22s cubic-bezier(0.25, 0.1, 0.25, 1) 0;
    border-radius: 2px;
    cursor: pointer;
    background-color: #F5F5F5;
    background-image: -o-linear-gradient(top, #F5F5F5, #F1F1F1);
    border: 1px solid #DCDCDC;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.product-info {
    position: relative;
    text-align: justify;
    margin: 0px 400px 0px 0px;
    padding: 30px;
}

div#header {
    position: relative;
    z-index: 8;
    width: 300px;
    height: 50px;
    background: rgba(77,154,254,0.4);
    -webkit-box-shadow: 0px 0px 20px 22px black;
    -moz-box-shadow: 0px 0px 20px 22px black;
    box-shadow: 0px 0px 40px 20px rgba(0,0,255,0.25);
    border-radius : 10px 10px 10px 10px;
}

div#header:hover {
    box-shadow: 0px 0px 40px 30px rgba(0,0,255,0.30);
}

.product-info h1 {
    padding: 0;
    margin: 0;
}

.product-info img {
    margin-left: 100px;
}

div.regform {
    width: 300px;
    margin: 10px auto 10px;
    height: 400px;
}

div.right-panel {
    min-width: 22.5em;
    float: right;
}

div.right-panel h3 {
    margin-bottom: 10px;
}

div.right-panel button, div.right-panel input[type="text"] {
    margin-top: 10px;
}

div.tag-container, div.category-container {
    margin: 25px;
    padding: 0px 20px 20px;
    width: auto;
    background: #FAF7F7;
    border: 1px solid #E5E5E5;
}

#current-category {
    margin: 25px;
}

div.right-panel span {
    margin: 1px 0px;
    padding: 1px 5px;
    border-radius: 7px;
    cursor: pointer;
}

div.right-panel span.selected {
    background-color: #C9C9C9;
    color: #FFFFFF;
}

div.right-panel span:hover {
    border: 2px solid #AAAAAA;
    padding-left: 3px;
}

#deletetags, #deletecategories {
    margin-left: 8px;
}

input.checkbox-hidden {
    display: none;
}

#footer-wrapper {
    width: 998px;
    margin: 10px auto 40px;
}

#footer-container-right {
    top: 20px;
    color: white;
    margin-left: 20px;
}

div#bottomPanel {
    display: none;
    -webkit-box-shadow: 0px 0px 20px 2px black;
    -moz-box-shadow: 0px 0px 20px 2px black;
    box-shadow: 0px 0px 20px 2px black;
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 40px;
    width: 100%;
    background-color: cadetblue;
    text-align: center;
    z-index: 999;
    /*behavior: url(ie-css3.htc);*/
}

div.tip {
    font-style: italic;
    font-size: 11px;
}

/* 5. Header
----------------------------------------------------------------------------------------------------*/
div#logo {
    position: relative;
    z-index: 11;
    float: left;
}

div#logo img {
    height: 50px;
    width: 300px;
}

/* 6. Content
----------------------------------------------------------------------------------------------------*/
.error_strings{
    font-family:Verdana; font-size:12px;
    color:#660000;
    margin-top: -30px;
}

/* 6.1. Todo divs
----------------------------------------------------------------------------------------------------*/
div.todo-instance {
    border: 1px solid #E5E5E5;
    display: block;
    background: #FAF7F7;
    width: 660px;
    margin: 25px;
    padding: 0px 20px 20px;
}

div.todo-instance.disabled {
    color: #D3D3D3;
}

div.activePedit {
    float: right;
}

div.todo-instance.disabled div.activePedit span {
    color: #000000;
}

div.todo-instance button {
    display: block;
}

div.todo-instance button.disabled {
    display: none;
}

div.todo-instance h3 {
    display: inline-block;
    margin-bottom: 10px;
}

span.todo-mark {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin: 0px 2px 2px;
    min-width: 46px;
    padding: 0px 5px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border-radius: 7px;
    color: #FFFFFF;
}

span.urgent {
    background-color: #8B0000;
}

span.important {
    background-color: #FFA100;
}

span.urgent.disabled,  span.important.disabled {
    background-color: #D3D3D3;
}

span.span-bold {
    font-weight: bold;
}

/* 8. Menu
----------------------------------------------------------------------------------------------------*/
#sign-out {
    z-index: 11;
    position: absolute;
    background: rgba(0,0,0,0);
    border: none;
    right: 20px;
    top: 0px;
}

#sign-out:hover {
    width: 70px;
    height: 35px;
    color: #000000;
    background: #FFFFFF;
}

#menu {
    position: relative;
    z-index: 9;
    padding: 10px;
    -webkit-box-shadow: 0px 6px 20px 2px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 6px 20px 2px rgba(0,0,0,0.5);
    box-shadow: 0px 6px 20px 2px rgba(0,0,0,0.5);
    border-radius : 10px 10px 10px 10px;
    height: 29px;
    margin: 0px 0px;
    width: auto;
    min-width: 68.5em;
}

#menu ul li {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    list-style: none;
    float:left;
    text-align: center;
    padding: 5px 20px;
    min-width: 3.8em;
}

li.menuitem {
    cursor: pointer;
}

li.menuitem:hover, li.selected {
    background-color: #D3D3D3;
    background-color: rgba(0,0,0,.20);
    border-radius: 10px;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
}

#search-form {
    border-radius : 10px;
    float: right;
    display: inline-block;
}

#search-field, #search-field input {
    border-radius : 10px 0px 0px 10px;
}

#search-field {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    display: inline-block;
}

#search-field input {
    display: inline;
    border: none;
    width: 12em;
    height: 2.1em;
}

#search {
    margin-left: -4px;
    border-radius : 0px 9px 9px 0px;
}

#clear-search {
    margin-bottom: 5px;
    padding: 0;
    border-radius : 7px;
    background: rgba(255,0,0,0.6) url('../img/cancel.png') no-repeat -1px -1px;
    min-width: 14px;
    height: 14px;
    border: 1px solid #CC0000;
}

#clear-search:hover {
    background-color: rgba(255,0,0,0.9);
}

#search-form:hover #search-field {
    border-radius : 9px 0px 0px 0px;
}

#search-form:hover #advanced-search-show {
    display: block;
}

#advanced-search-show {
    display: none;
    border-radius : 0px 0px 0px 9px;
}

/* 9. Submenu
----------------------------------------------------------------------------------------------------*/

.submenu {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 660px;
    margin: auto;
    background: #FAF7F7;
    border: 1px solid #272727;
    top: -25px;
}

#new-todo, #settings, #advanced-search-form {
    display: none;
    padding-bottom: 20px;
}

#new-todo {
    display: none;
}

#new-todo label {
    margin-top: 0.5em;
}

#new-todo h3 {
    margin-top: 20px;
}

#new-todo div span {
    padding-left: 5px;
    padding-right: 5px;
}

#new-todo input {
    width: auto;
    clear: none;
    padding: 0;
    height: 1.9em;
}

#new-todo input[type="checkbox"] {
    height: auto;
}

#new-todo textarea {
    width: 100%;
}

div#todo-for-tags-hidden {
    display: none;
}

#todo-for-tags span {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: pointer;
    margin: 0px 2px 2px;
    min-width: 46px;
    color: #444444;
    background-color: #F5F5F5;
    border: 1px solid #DCDCDC;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border-radius: 7px;
}

input#todo-tags {
    width: 100%;
    margin-top: 0.3em;
}

div#todo-category-container * {
    display: inline-block;
}

#cancel-todo, #cancel-advanced-search {
    margin-left: 5px;
}

#editTodo {
    display: none;
}

#overlay {
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    z-index: 1;
    background-image: url("../img/modal-bg.png" );
}

#settings select {
    display: block;
    margin-bottom: 10px;
}

#advanced-search-form > * {
    margin-top: 10px;
    margin-bottom: 0px;
}

#advanced-search-form h3 {
    margin-top: 20px;
}

#advanced-search-form .search-date {
    display: inline-block;
    margin: 0px 5px;
}

#advanced-search-form input {
    clear: none;
    padding: 0;
    height: 1.9em;
}

/* 10. Pagination
----------------------------------------------------------------------------------------------------*/

.for-pagination {
    margin: 25px;
}

.pagination {
    min-height: 2.4em;
}

.pagination > * {
    border-radius: 3px;
}

.pagination a {
    text-decoration: none;
    color: #444444;
    background-color: #F5F5F5;
    border: 1px solid #DCDCDC;
}

.pagination a, .pagination span {
    display: block;
    float: left;
    padding: 0.3em 0.5em;
    margin-right: 5px;
    min-width: 1em;
    font-size: 11px;
    text-align: center;
}

.pagination span {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pagination .prev, .pagination .next {
    font-weight: 700;
}

/* 11. Color themes
----------------------------------------------------------------------------------------------------*/

.body-cyan {
    background: rgb(3,66,75) url('../img/cyan.png') repeat;
}

.cyan {
    color: #FFFFFF;
    background: rgb(64,181,197);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(64,181,197)), to(rgb(7,165,187)));
    background: -moz-linear-gradient(top, rgb(64,181,197), rgb(7,165,187));
    background: -o-linear-gradient(top, rgb(64,181,197), rgb(7,165,187));
    border: 1px solid #2f8893;
}

#todo-for-tags span.cyan {
    color: #FFFFFF;
    border: 1px solid #2f8893;
}

button.cyan:hover {
    background: rgb(102,196,209);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(102,196,209)), to(rgb(102,196,209)));
    background: -o-linear-gradient(top, rgb(102,196,209), rgb(102,196,209));
}

.body-dark {
    background: rgb(16,16,16) url('../img/dark.png') repeat;
}

.dark {
    color: #FFFFFF;
    background:  rgb(89,89,89);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(89,89,89)), to(rgb(54,54,54)));
    background: -moz-linear-gradient(top, rgb(89,89,89), rgb(54,54,54));
    background: -o-linear-gradient(top, rgb(89,89,89), rgb(54,54,54));
    border: 1px solid #272727;
}

#todo-for-tags span.dark {
    color: #FFFFFF;
    border: 1px solid #272727;
}

button.dark:hover {
    background: rgb(106,106,106);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(106,106,106)), to(rgb(106,106,106)));
    background: -o-linear-gradient(top, rgb(106,106,106), rgb(106,106,106));
}

.body-google-blue {
    background: rgb(28,54,95) url('../img/google-blue.png') repeat;
}

.google-blue {
    color: #FFFFFF;
    background: rgb(77,154,254);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(77,154,254)), to(rgb(71,135,237)));
    background: -moz-linear-gradient(top, rgb(77,154,254)), to(rgb(71,135,237));
    background: -o-linear-gradient(top, rgb(77,154,254), rgb(71,135,237));
    border: 1px solid #3079ED;
}

#todo-for-tags span.google-blue {
    color: #FFFFFF;
    border: 1px solid #3079ED;
}

button.google-blue:hover {
    background: rgb(113,166,254);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(113,166,254)), to(rgb(113,166,254)));
    background: -o-linear-gradient(top, rgb(113,166,254), rgb(113,166,254));
}

.body-gray {
    background: rgb(82,82,82) url('../img/gray.png') repeat;
}

.gray {
    color: #000000;
    background: rgb(240,240,240);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(240,240,240)), to(rgb(204,204,204)));
    background: -moz-linear-gradient(top, rgb(240,240,240), rgb(204,204,204));
    background: -o-linear-gradient(top, rgb(240,240,240), rgb(204,204,204));
    border: 1px solid #d6d6d6;
}

button.gray:hover {
    background: rgb(242,242,242);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(242,242,242)), to(rgb(242,242,242)));
    background: -o-linear-gradient(top, rgb(242,242,242), rgb(242,242,242));
}

.body-magenta {
    background: rgb(71,10,36) url('../img/magenta.png') repeat;
}

.magenta {
    color: #FFFFFF;
    background: rgb(190,64,120);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(190,64,120)), to(rgb(177,24,91)));
    background: -moz-linear-gradient(top,rgb(190,64,120), rgb(177,24,91));
    background: -o-linear-gradient(top,rgb(190,64,120), rgb(177,24,91));
    border: 1px solid #841144;
}

#todo-for-tags span.magenta {
    color: #FFFFFF;
    border: 1px solid #841144;
}

button.magenta:hover {
    background: rgb(203,102,147);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(203,102,147)), to(rgb(203,102,147)));
    background: -o-linear-gradient(top, rgb(203,102,147), rgb(203,102,147));
}

.body-orange {
    background: rgb(128,54,12) url('../img/orange.png') repeat;
}

.orange {
    color: #FFFFFF;
    background: rgb(255,133,64);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,133,64)), to(rgb(255,107,24)));
    background: -moz-linear-gradient(top, rgb(255,133,64), rgb(255,107,24));
    background: -o-linear-gradient(top, rgb(255,133,64), rgb(255,107,24));
    border: 1px solid #c04f11;
}

#todo-for-tags span.orange {
    color: #FFFFFF;
    border: 1px solid #c04f11;
}

button.orange:hover {
    background: rgb(255,157,102);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,157,102)), to(rgb(255,157,102)));
    background: -o-linear-gradient(top, rgb(255,157,102), rgb(255,157,102));
}

.body-yellow {
    background: rgb(128,94,22) url('../img/yellow.png') repeat;
}

.yellow {
    color: #FFFFFF;
    background: rgb(255,199,79);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,199,79)), to(rgb(255,188,43)));
    background: -moz-linear-gradient(top, rgb(255,199,79), rgb(255,188,43));
    background: -o-linear-gradient(top, rgb(255,199,79), rgb(255,188,43));
    border: 1px solid #c08c1f;
}

#todo-for-tags span.yellow {
    color: #FFFFFF;
    border: 1px solid #c08c1f;
}

button.yellow:hover {
    background: rgb(255,210,114);
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,210,114)), to(rgb(255,210,114)));
    background: -o-linear-gradient(top, rgb(255,210,114), rgb(255,210,114));
}
